3
|
How do I change the control's border, using your EBN files
<BODY onload="Init()">
<OBJECT CLASSID="clsid:0885027A-DF96-481F-928C-E3E3788889BA" id="StatusBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
StatusBar1.BeginUpdate();
StatusBar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
StatusBar1.Appearance = 16777216;
StatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
StatusBar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
StatusBar1.BackColorPanels = 83886080;
StatusBar1.Format = "1,2,3,4,(5/6/7/8)";
StatusBar1.Debug = true;
StatusBar1.EndUpdate();
}
</SCRIPT>
</BODY>
|
2
|
How do I remove the control's border
<BODY onload="Init()">
<OBJECT CLASSID="clsid:0885027A-DF96-481F-928C-E3E3788889BA" id="StatusBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
StatusBar1.BeginUpdate();
StatusBar1.Appearance = 0;
StatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
StatusBar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
StatusBar1.BackColorPanels = 83886080;
StatusBar1.Format = "1,2,3,4,(5/6/7/8)";
StatusBar1.Debug = true;
StatusBar1.EndUpdate();
}
</SCRIPT>
</BODY>
|
1
|
How can I change the control's font
<BODY onload="Init()">
<OBJECT CLASSID="clsid:0885027A-DF96-481F-928C-E3E3788889BA" id="StatusBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
StatusBar1.BeginUpdate();
StatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
StatusBar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
StatusBar1.BackColorPanels = 83886080;
var f = new ActiveXObject("StdFont");
f.Name = "Verdana";
f.Size = 12;
StatusBar1.Font = f;
StatusBar1.Format = "\"static text\"[fg=255][a=17],11,22,(33/44)";
StatusBar1.EndUpdate();
}
</SCRIPT>
</BODY>
|